package com.pickup.mapper;

import com.pickup.pojo.ChatMsg;
import com.pickup.pojo.FriendsRequest;
import org.apache.ibatis.annotations.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;
import tk.mybatis.spring.annotation.MapperScan;

import java.util.ArrayList;

@Mapper
public interface FriendsRequestMapper {

    FriendsRequest selectUserRequest(String myUserId, String id);

    void insert(ArrayList<FriendsRequest> friendsRequests);

    void deleteByExample(String sendUserId, String acceptUserId);

}